package com.wang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;



@Controller
public class IndexController {



    @RequestMapping({"/index","/"})
    public String index() {
        return "index";
    }


    @RequestMapping("/types")
    public String types() {
        return "types";
    }

    @RequestMapping("/majors")
    public String majors() {
        return "majors";
    }

    @RequestMapping("/experts")
    public String experts() {
        return "experts";
    }
}
